UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The Photon operating system must audit all account removal actions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239118 PHTN-67-000047 SV-239118r675162_rule Medium
Description
When operating system accounts are removed, user accessibility is affected. Accounts are used for identifying individual users or the operating system processes themselves. To detect and respond to events affecting user accessibility and system processing, operating systems must audit account removal actions.
STIG Date
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide 2021-04-15

Details

Check Text ( C-42329r675160_chk )
At the command line, execute the following command:

# auditctl -l | grep -E "(userdel|groupdel)"

Expected result:

-w /usr/sbin/userdel -p x -k userdel
-w /usr/sbin/groupdel -p x -k groupdel

If the output does not match the expected result, this is a finding.
Fix Text (F-42288r675161_fix)
At the command line, execute the following commands:

# echo '-w /usr/sbin/userdel -p x -k userdel' >> /etc/audit/rules.d/audit.STIG.rules
# echo '-w /usr/sbin/groupdel -p x -k groupdel' >> /etc/audit/rules.d/audit.STIG.rules
# /sbin/augenrules --load